<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        console.log(typeof(8));  //number
        console.log(typeof("nfit"));  //string
        console.log(typeof(true));  //boolean
        console.log(typeof(null)); //null->object
        console.log(typeof(undefined));  //undefined
        console.log(typeof([]));  //object
        console.log(typeof 1==="number");  //false
    </script>
</body>
</html>